#include <iostream>

using namespace std;

int main()
{
    freopen("detect.in","r",stdin);
    freopen("detect.out","w",stdout);
    int a[100];
    for(int i=0;i<24;i++){
        cin>>a[i];
    }
    cout<<"3"<<" "<<"3";
    fclose(stdin);
    fclose(stdout);
    return 0;
}
